{assign var=formId value='add'}
<div id="content">
    <div class="highlight">
        {if isset($tabadmindefault)}{$tabadmindefault}{/if}
        {if $infoText}
            <div class="{$infoClass}">
                <h4>Result:</h4>
                <p>{$infoText}</p>
            </div>
        {/if}
        {include file="admin/toolbar.temp.html" title=toolbar}        
        <div class="formType">
            <form action="{$base_url}" method="post" id="{$formId}" name="{$formId}">
                <fieldset>
                	<div class="left">
                    	<div class="titles">{l s='infoneed'}</div>  
			<div style="clear:both;">
                            <ul class="tabs">
                                {if $objectLanguages}
                                    {foreach $objectLanguages as $objectlang} 
                                        <li class="tab {if $objectlang@first}selected{/if}">{$objectlang->getField('name')}</li>
                                    {/foreach}                                   
                                {/if}                        
                            </ul>
                            {if $objectLanguages}
                                {foreach $objectLanguages as $objectlang} 
                                    
                                    <div class="tabcontent {if $objectlang@first}selected{/if}">
                                        <p>
                                            <label for="name">{l s='name'} *</label>
                                            <span>{l s='name_help'}</span>
                                            <input type="text" name="{$objectlang->getField('code')}_type" value="{$objectInfo->getFieldLangAdmin($objectlang->getField('code'),'type')}" />
                                        </p>    
                                        <br class="clear">
                                    </div>
        
                                {/foreach}                                   
                            {/if} 
                            
                        </div>                                                                    
					</div>
                    <div class="right">  
                    	<div class="titles">{l s='infononeed'}</div> 
                        <div id="accordion">
                            
                            <div class="title">{l s='properties'}</div>
                            
                            <div class="content">
                                <input type="hidden" name="cid" value="{$pid}" />                            
                                <p>
                                    <label for="status">{l s='status'} *</label>
                                    <span>{l s='status_help'}</span>
                                    <select name="status">
	                                    {$listStatus}
                                    </select>
                                </p>
                                <p>
                                    <label for="position">{l s='position'} *</label>
                                    <span>{l s='position_help'}</span>
                                    <input type="text" id="position" name="position" value="{$position}" />
                                </p>  
    
                            </div>
                            
                        </div>
                                                                 
					</div>
                    <div class="over">                        
                        <p class="btnType">
                            <input type="hidden" id="op"  name="op" value="{$op}" />
                            <input type="hidden" id="act" name="act" value="{$act}" />
                            <input type="hidden" id="oId" name="oId" value="{$oId}" />
                            <input type="hidden" id="plus" name="plus" value="saveItem" />
                        </p>
					</div>                        
                </fieldset>
            </form>
        </div>
    </div>
</div>